﻿@using System.Configuration
<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/user/styles.css")" rel="stylesheet" type="text/css" />
    @RenderSection("CssImport", false)
    <!-- JTable including -->
    <script src="@Url.Content("~/Scripts/jquery-1.6.4.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
</head>
<body>
    <div id="header">
        <div id="menu">
            <a href="@Url.Action("Index", "Home")" class="toplinks">Trang chủ</a> 
            <a href="@Url.Action("Index", "Account")" class="toplinks">Tài khoản</a>
            <a href="@Url.Action("TimKiem", "Home")" class="toplinks">Tìm sách</a>
            @if (User.IsInRole("Administrator") || User.IsInRole("Super Administrator"))
            {
            <a href="@Url.Action("Index", "Admin")" class="toplinks">Admin CP</a>
            }
            <div id="search">
                @Html.Partial("_LogOnPartial")
            </div>
        </div>
        <h1> <a href="@Url.Action("Index", "Home")">Thư Viện Sách</a> </h1>
        <h4> FPT-Aptech </h4>
    </div>
    <div id="wrapper">
        <div class="inner_copy">
        </div>
        <div id="right">
            @RenderSection("_RightSection", false)
        </div>
        <div id="content">
            @RenderBody()
        </div>
        <div class="clear">
        </div>
        <div id="footer">
            <div class="fleft">Copyright by F3-1101-T0</div>
            <div class="fright">Design by: <a href="#">Templatesperfect.com</a></div>
            <div class="fcenter">Phiên bản @Html.Raw(ConfigurationManager.AppSettings["webpages:Version"].ToString())</div>
        </div>
    </div>
</body>
</html>
